/*!
Theme Name: anjiasg
Theme URI: https://d3logics.com/
Author: d3logics.com
Author URI: https://d3logics.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: anjiasg
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

anjiasg is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 
 
.b_nav {bottom: 0; left: 0; width: 100%; background: #00509d; color: #fff; padding: 0; z-index: 1000; padding-top: 10px; padding-bottom: 10px; position: sticky;}
.b_nav a {color: #fff;}
.b_nav li .ico .web,
.b_nav li .ico .iconfont {font-size: .4rem;}
.b_nav li .ico {line-height: .4rem}
.b_nav img { width: 23px;}
.db { display: box; display: -webkit-box; box-align: center; -webkit-box-align: center;}
.db li, .flex {-moz-box-flex: 1.0; -webkit-box-flex: 1.0; box-flex: 1.0;  text-align: center;}
.b_nav a {  color: #fff;}
.b_nav li .ico {  line-height: .4rem;}
.pop_feed {position: fixed;top:0;;left:0;width: 100%;height: 100%;z-index: 10000;display: none;}
.pop_feed .Acont .db,
.pop_feed .Acont {height: 100%}
.pop_feed .Acont .db .flex {background: #fff; box-shadow: 0 0 5px #666; position: relative; max-width: 300px; margin: 0 auto; padding: 15px;}
.pop_feed .abs {position: absolute;top:-.6rem;right: -.3rem;}
.pop_feed a i {font-size: .7rem;color: #666;}
.pop_feed.wx .Acont .db .flex .tit span {font-size: .32rem;}
.pop_feed.wx .Acont .db .flex img {width: 100%;}
.pop_feed .close {width: 35px;}
.tit span { font-size: 14px!important; }
.pop_feed.zx .tit span { font-size: 20px!important; display: block; text-align: left;}
.pop_feed.zx form.wpcf7-form .wpcf7-form-control {
    width: 100%;
    border-radius: 0.1rem;
    vertical-align: top;
    padding: 0 0.2rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    -webkit-user-select: text !important;
    text-align: left;
    height: 28px;
	    font-size: 14px;
    font-weight: bold;
}
.rowcontact { text-align: left; margin-bottom: 10px;}
.rowcontact label {font-size: 14px; margin-bottom: 5px; display: block;}
.rowcontact span {font-size: 12px;}
.pop_feed.zx input.wpcf7-form-control.has-spinner.wpcf7-submit {
    background: #00509d;
    border: 0;
    width: 100%;
    color: #fff;
    font-size: 17px;
    border-radius: 5px;
    text-align: center;
    padding: 6px;
    height: auto;
}

.tit { font-size: 12px;}
.pop_feed.zx .tit { margin-bottom: 10px; text-align: left;}
.sticky-contact { bottom: 66px; position: sticky!important; }
.cmsg {display: none;}
.wid button {
    background: #00509d;
    color: #fff;
    margin-left: 2px;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
}
div#wechatQR {margin-top: 10px;}
.pop_feed.zx form.wpcf7-form textarea.wpcf7-form-control.wpcf7-textarea { height: 60px!important; padding: 5px; }
@media only screen and (max-width: 900px) {
.b_nav  { display: block;}
.row.gx-10.gy-7.gx-md-15 { padding: 0!important; margin: 0!important; }
.main-carousel.estate-carousel.flickity-enabled.is-draggable { max-width: 100%; margin-left: 10px; margin-right: 10px; }
.desktopview {display: none;}
}
 @media only screen and (min-width: 901px) {
.b_nav {
	 z-index: 9999;
    left: auto;
    position: fixed;
    right: 0;
    width: 50px;
    height: auto;
    top: 20%;
    bottom: auto;
    background: #fff;
   box-shadow: 0 0 5px #bbb;
}

.b_nav ul.db.tac {
    display: block!important;
    text-align: center;
}

.b_nav ul.db.tac li {
    padding-top: 5px;
    padding-bottom: 5px;
    display: block!important;
}

.b_nav li .ico {
    display: block;
    line-height: 1;
    text-align: center;
}

.b_nav a {
    display: block!important;
}

li.WhatsApp {
    font-size: 0;
}

div#wechatQR img {
    min-width: 200px!important;
}
.b_nav img { -webkit-filter: grayscale(1) invert(1); filter: grayscale(1) invert(1); margin-bottom: 5px; }
.b_nav a { color: #000; }
.abs {
    right: 50px;
    top: 0;
    position: absolute;
    background: #ffd500;
    padding: 8px;
    color: #fff;
    display: none;
}

.b_nav ul.db.tac li:hover .abs {
    display: block;
}

.b_nav ul.db.tac li.phonenum:hover {
    background: #ffd500;
}
.abs {
    right: 50px;
    top: 0;
    position: absolute;
    background: #000;
    padding: 8px;
    color: #fff;
    display: none;
}
.b_nav ul.db.tac li { position: relative; }
.b_nav ul.db.tac li.phonenum:hover .abs {
    display: block;
}

.b_nav ul.db.tac li.phonenum:hover {
    background: #000;
}
.phonenum a { font-size: 0!important; }
.phonenum:hover img { -webkit-filter: grayscale(0) invert(0); filter: grayscale(0) invert(0); margin-bottom: 5px; }
.b_nav a { font-size: 12px; }
.desktopview.wechat img { -webkit-filter: inherit!important;   filter: inherit!important;  width: 32px;}
li.WhatsApp a { font-size: 0; }
 }
.abs { display: none; }
 a.abs.close { display: block!important; background: transparent!important; padding: 0!important; }
 
 /** End popup **/
 
 div#ez-toc-container ul.ez-toc-list a {
	font-family: 'Noto Sans SC';
}

div#ez-toc-container ul.ez-toc-list a:hover {
  color: #fdc500!important;
}

.blog-content h1 {
  font-family: 'Noto Sans SC';
  font-size: 30px;
  font-weight: bolder;
}

.blog-content h2 {
  font-family: 'Noto Sans SC';
  font-size: 30px;
  font-weight: bolder;
  padding-bottom: 10px;
  padding-top: 20px;
}

.blog-content h3 {
  font-family: 'Noto Sans SC';
  font-size: 20px;
  padding-top: 20px;
  color: #00509d;
}

.blog-content h4 {
  font-family: 'Noto Sans SC';
  font-size: 18px;
  padding-top: 18px;
}

.blog-content a {
  font-family: 'Noto Sans SC';
  color: #b4985b;
}

.blog-content a:hover {
  text-decoration: underline;
}

.blog-content .aligncenter {
	max-width: 100%;
	margin: 0 auto;
}

.blog-content img {
	max-width: 100%;
}

.blog-content figure {
	max-width: 100%;
}

.blog-content figcaption {
	margin-top: 0px;
}

.tablepress tbody tr:first-child td {
	border-top: 1px solid #ddd!important;
}

figcaption {
  font-family: 'Noto Sans SC';
  font-size: 14px;
  text-align: center;
  font-style: normal;
  color: #b4985b;
}

.blog-content ul, .blog-content ol {
  margin-bottom: 15px;
  padding-left: 20px!important;
  margin-top: 10px;
}

.blog-content ul li, .blog-content ol li {
  padding-bottom: 6px;
}

.eng {
  font-family: 'Arial'!important;
}

@media (min-width: 768px) {
	.single-post h1 {
		font-size: 40px;
	}
}
 
.wpcf7 .ajax-loader{
	display:none;
}
.home-form .wpcf7-submit{
	border-bottom: 0 !important;
	font-size: 30px;
	padding-top: 20px;
}
.home-form .submit-btn-home{
    padding: 5px !important;
}
.submit-btn-home:hover .wpcf7-submit {
    color: #ffd500;
}
.home-form .wpcf7-textarea {
    height: 120px;
}
/*Css 7-9*/
.nav-previous {
    padding: 10px 0;
    margin-bottom: 30px;
    margin-top: 10px;
}

.nav-next {
    padding: 10px 0;
    margin-bottom: 30px;
    margin-top: 10px;
}

.nav-links a {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    color: #00509d;
    font-size: 15px;
    margin: 0 auto;
    width: 100%;
}

.nav-next a {
    margin-left: auto;
    text-align: right;
    justify-content: flex-end;
}

.nav-previous img {
    width: 20px;
    margin-right: 15px;
}

.nav-next img {
    width: 20px;
    margin-left: 15px;
}
.form--sm {
    background-color: #efefef;
    padding: 24px 24px 40px;
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 0 60px 60px;
}
.pppage ol {
    list-style-position: outside;
    margin-left: 16px;
}

.pppage  p {
    padding-bottom: 10px;
}
.customSearch .searchandfilter label { position: relative; }
.customSearch .searchandfilter ul li.sf-field-search label:after {content: '';display: block;background-color: #00509d!important;width: 42px;height: 35px;position: absolute;top: 12px;bottom: 0;right: 10px;background: url(https://wordpress-518724-2125367.cloudwaysapps.com/wp-content/uploads/2021/09/search-solid-white.svg);background-size: 14px;background-repeat: no-repeat;background-position: center;cursor: pointer;}
.customSearch .searchandfilter ul li.sf-field-search input.sf-input-text {
    background: transparent;
    padding: 16px 13px;
    font-size: 22px;
    width: 100%;
    border: none;
    outline: none!important;
    color: #6b6b6b;
}
.headerhide { display: none!important; }
.xmailresult {
    background-color: #ffd500;
    border-style: none;
    border-radius: 5px;
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 15%);
    padding: 12px 15px;
    margin-bottom: 30px;
}
.wpcf7-submit:hover { cursor: pointer!important; }
li.sf-field-reset {
    float: right;
    text-align: right;
    width: 100%!important;
}

li.sf-field-reset a {
    color: #000;
    background-color: #ffd500;
    -webkit-align-self: stretch;
    align-self: stretch;
    padding: 8px 35px;
}

li.sf-field-reset a:hover {
    background: #000;
    color: #ffd500;
}
@media only screen and (max-width: 767px) {
.searchandfilter ul li {
    width: 100%;
    padding: 0;
}

.searchandfilter select.sf-input-select {
    box-shadow: none!important;
    border: 1px solid #e6e6e6;
}

.searchandfilter ul {
}

li.sf-field-search {
    margin-bottom: 12px!important;
}


.searchandfilter ul li {
    width: 100%!important;
    padding: 0!important;
}

 .searchandfilter ul li.sf-field-post-meta-property-price {
    padding: 15px!important;
    padding-bottom:5px!important;
}
.searchandfilter ul li.sf-field-post-meta-property-psm {
    margin-top: 0px!important;
    padding: 15px!important;
}
}
.navbar__list li{position: relative;}
.menu-item-has-children:after{
       /* content: "\21E9";*/
       content: "";
        color: white;
    position: absolute;
    top: 25px;
    right: 10px;
    display: block;
            background: url(https://www.anjiasg.com/wp-content/uploads/2021/11/toparrow.svg);
        content: '';
        background-size: 20px;
        display: inline-block;
        height: 20px;
        width: 20px;
        transform: rotate(180deg);
}
ul.sub-menu{
    height: 0;
    /* opacity: 0; */
    transition: height 1.15s ease-out;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.26s ease;
}
ul.sub-menu.active {
    height: auto;
    /* opacity: 1; */
    transform: scaleY(1);
    /* transition: max-height 1.25s ease-in; */
}
@media only screen and (min-width: 992px) {
.navbar__list li:hover ul.sub-menu{display: block;}
ul.sub-menu{display: none;position: absolute;}

.navbar__list li:hover:after{color:#064ada;}
.navbar__list li.menu-item-has-children{
    padding-right: 20px;
}
.menu-item-has-children:after{
    top:15px;
    right: 0px;
}
ul.sub-menu{height: auto;transform:scale(1.0);right:0;        background: rgb(0 0 0 / 50%);min-width:200px;padding:10px;}
}

 .page-template-tpl-404 .search-form{
 	margin: 10px auto;
    /* display: flex; */
    text-align: center;
 }
 .page-template-tpl-404 .search-form .search-field{
 	    padding: 10px;
    border: 0;
    border-bottom: 1px solid #cecece;
    margin-bottom: 50px;
    min-width: 250px;
}
 .page-template-tpl-404 .search-form .search-submit{
 	    display: inline-block;
    background: #fbd403;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    border: 0;
 }
 .page-template-tpl-404 .search-form label{display:inline-block;}